﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="LianChengBookingTicket.aspx.cs" Inherits="LianChengBookingTicket" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <script language="javascript" type="text/javascript">
        function s() {
            var tb = document.getElementById("tb");
            var rows = document.getElementsByTagName("tr");
            var index = rows.length;
            var tr = tb.insertRow(index);
            var td = tr.insertCell(0);
            td.innerHTML = "<input type='text' /><input type='text'/>";

        }
    </script>
</head>
<body>
    <form id="form1" runat="server">
        <div>
           <input type="button" value="增加" onclick="s()" />
        </div>
    <div >
        <table id="tb">
         <tr>
            <td ><input type="text"/><input type="text"/></td>
         </tr>
       </table>
    </div>
    </form>
</body>
</html>
